Victim Caching with Better Block Replacement
نویسندگان
چکیده
Cache memories help bridge the cycle-time gap between fast microprocessors and relatively slow main memories. By holding recently referenced regions of memory, caches can reduce the number of cycles the processor must stall while waiting for data. As the disparity between processor and main memory cycle times increases by 40 percent or more per year cache performance becomes ever more critical. Caches exhibit one of three types of misses: compulsory, capacity, and conflict. Previous studies have shown that conflict misses account for roughly 20% to 40% of all misses. Victim caches have been proposed as one cost-effective method for significantly reducing the number of conflict misses incurred. In this paper, we propose a new victim cache block replacement algorithm which improves upon the effectiveness of victim caches in reducing conflict misses. The obvious block replacement algorithm to use in a victim cache is the least recently used (LRU) algorithm; however, no time stamp information between sets of the main cache is currently available, so an LRU block replacement algorithm in the victim cache cannot be implemented. Instead, LRU is approximated by using the time that a block was evicted from the main cache, i.e., a least recently evicted (LRE) algorithm. We first demonstrate that victim cache performance improves when a non-practical true LRU block replacement algorithm is used rather than the LRE block replacement algorithm. We then propose a new, practically implementable block replacement scheme that more closely approximates LRU than LRE does, and we show that it closes most of the performance gap between LRU and LRE.
منابع مشابه
Selective Victim Caching: A Method to Improve the Performance of Direct-Mapped Caches
Victim caching was proposed by Jouppi [4] as an approach to improve the miss rate of direct-mapped caches. This approach augments the direct-mapped main cache with a srnall fully-associate cache, called victim cache, that stores cache blocks evicted from the main cache as a result of replacements. We propose and evaluate an improvement of this scheme, called selective victim caching. In this sc...
متن کاملEnergy Efficient Buffer Cache Replacement
Power consumption is an increasingly impressing concern for data servers as it directly affects running costs and system reliability. Prior studies have shown most memory space on data servers are used for buffer caching and thus cache replacement becomes critical. This paper investigates the tradeoff between these two interacting factors and proposes three energy-aware buffer cache replacement...
متن کاملAnalysis of Sub-block Placement and Victim Caching Techniques
Rapid advances in computer technology have led to the development of processors with peak performances of the order of GHz. Since it is not feasible to have unlimited fast-memory, the performance of these processors is handicapped if the performance of the memory-hierarchy is poor. Caching techniques have been developed with this in mind. This paper presents the analysis of the performance of t...
متن کاملDesign and Performance Evaluation of a Cache Assist to implement Selective Caching
EEcient instruction and data caches are extremely important for achieving good performance from modern high performance processors. Conventional cache architectures exploit locality, but do so rather blindly. By forcing all references through a single structure, the cache's eeectiveness on many references is reduced. This paper presents a selective caching scheme for improving cache performance...
متن کاملAnnex cache: a cache assist to implement selective caching
Efficient instruction and data caches are extremely important for achieving good performance from modern high performance processors. Conventional cache architectures exploit locality, but do so rather blindly. By forcing all references through a single structure, the cache’s effectiveness on many references is reduced. This paper presents a selective caching scheme for improving cache performa...
متن کامل